package cn.ecnu.common.utils;

import cn.ecnu.pojo.resume.ResumeExp;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ThreadCandidate implements Runnable {

    private ResumeExp resumeExp;
    @Resource
    TencentCloudUtil tencentCloudUtil;

    public void setResumeExp(ResumeExp resumeExp){
        this.resumeExp = resumeExp;
    }
    @Override
    public void run() {
        tencentCloudUtil.allMatchForCandidate(resumeExp);
    }
}
